What is Referential Transprency in Erlang
1654
24-Jun-2015
Updated on 18-Sep-2020
Anonymous User
24-Jun-2015Functions always returning the same result for the same parameter is called referential transparency. It's what lets us replace add_two_to(3) with 5, as the result of 3+2 will always be 5.